#ifndef PTRTESTADAPTOR_H
#define PTRTESTADAPTOR_H

#include "ptrtestadaptor_global.h"
#include "sptestadaptor.h"
#include "lfsptr.h"

class PTRTESTADAPTORSHARED_EXPORT PtrTestAdaptor
        : public SPTestAdaptor
{
    Q_OBJECT
    static int typeId;

public:
    Q_INVOKABLE explicit PtrTestAdaptor();
    ~PtrTestAdaptor();

public slots:
    int GetStatus(QVariant& timeout, QVariant& LFSResult);
    int GetCapabilities(QVariant& timeout, QVariant& LFSResult);

    int PrintRawData(QVariant& szData, QVariant& timeout, QVariant& LFSResult);

private:
    void formatStatusInfo(LPLFSPTRSTATUS lpStatus, QVariant& szStatusInfo);
    void formatCapabilitiesInfo(LPLFSPTRCAPS lpCaps, QVariant& szCapsInfo);
};

#endif // PTRTESTADAPTOR_H
